//
//  LoginViewController.swift
//  Driver
//
//  Created by lantaiyuan on 2017/9/22.
//  Copyright © 2017年 youmy. All rights reserved.
//

import UIKit

class LoginViewController: YMBaseViewController {
    @IBOutlet weak var userV: UIView!
    @IBOutlet weak var passwordV: UIView!
    @IBOutlet weak var userTF: UITextField!
    @IBOutlet weak var PasswordTF: UITextField!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        setupUI()
    }
}


// MARK: - <#Description#>
extension LoginViewController {
    fileprivate func setupUI() {
        navigationBar.isHidden = true
        
        drawBorder(userV)
        drawBorder(passwordV)
    }
    
    /// 绘制边框
    private func drawBorder(_ view: UIView) {
        view.layer.borderColor = UIColor.cz_color(withHex: green_color).cgColor
        view.layer.borderWidth = 0.3
        
    }
}


// MARK: - 事件
extension LoginViewController {
    
    
    @IBAction func loginAction(_ sender: UIButton) {
    }
    
    @IBAction func forgetPasswordAction(_ sender: UIButton) {
    }
    
    @IBAction func registerAction(_ sender: UIButton) {
    }
}
